package com.onerway.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum EndpointEnum {

    CASHIER_PAYMENT("/txn/payment", "收银台支付"),
    PAYMENT("/v1/sdkTxn/doTransaction", "下单"),
    UPDATE_PAYMENT("/v1/sdkTxn/updateOrder", "更新订单"),
    TXN_BI_PAYMENT("/v1/txn/doTransaction", "两方支付"),
    TXN_LIST("/v1/txn/list", "查询交易订单"),
    TOKEN_LIST("/v1/txn/queryTokenList", "获取绑定Token列表"),
    TXN_CANCEL("/v1/txn/cancelTxn", "取消交易"),
    TXN_REFUND("/v1/txn/onlineRefund", "申请退款"),
    CHARGE_BACK_LIST("/v1/chargeback/list", "拒付订单查询"),
    SETTLEMENT_FILE_DOWNLOAD("/v1/settlementFile/download", "下载结算文件");

    private final String endpoint;

    private final String desc;
}